package com.eureka.eureka;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 86131
 */
@SpringBootApplication
@EnableEurekaServer
@RestController
@Slf4j
public class EurekaApplication {

    public static void main(String[] args) {
        SpringApplication.run(EurekaApplication.class, args);
    }

    @RequestMapping("test")
    public String list(){
        log.info("fwefjhusfhnisdkfnsolfnsdlofn的就哦i的就哦的哦大家佛为甲方");
        return "OK";
    }

    @RequestMapping("test1")
    public String list1(){
        log.info("fwefjhusfh分分分nisdkfnsolfnsdlofn的就哦i的就哦的哦大家佛为甲方");
        return "okkkkkk";
    }
}
